package com.lixw.langchain.controller;

import com.lixw.langchain.service.ChatAssistant;
import jakarta.annotation.Resource;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

/**
 * @ClassName: DeclarativeAIServiceController
 * @Description: SpringBoot整合使用高级PI
 * @Author: xuweiLi
 * @Create: 2025/8/22 19:09
 **/
@RestController
public class DeclarativeAIServiceController {
   /* @Resource
    private ChatAssistant chatAssistant;

    @GetMapping("/high/chat")
    public String highChat(@RequestParam(value = "prompt",defaultValue = "你是谁") String prompt) {
        return chatAssistant.call(prompt);
    }*/
}